export default {
  name: 'Home',
  data () {
    return {
      menuList: []
    }
  },
  async created () {
    const { data } = await this.$get('menus')
    console.log(data)
    this.menuList = data
  },
  methods: {
    logoutHandler () {
      window.sessionStorage.clear()
      this.$router.push('login')
    }
  }
}
